From: Florian Müllner Date: Wed, 21 Sep 2016 21:24:28 +0000 (+0200) Subject: global: Fix a small memory leak X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~703 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3cd8dd0f3295f2b66deceb1b98d446606b96ce05;p=gnome-shell.git global: Fix a small memory leak --- diff --git a/src/shell-global.c b/src/shell-global.c index 480b2fe4d..6dda3526a 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -277,6 +277,7 @@ shell_global_init (ShellGlobal *global) XDisplayName (NULL)); (void) g_mkdir_with_parents (path, 0700); global->runtime_state_path = g_file_new_for_path (path); + g_free (path); global->settings = g_settings_new ("org.gnome.shell");